import request from "@/api/request";


// 根据id获取用户信息
export function getuser(id) {
    return request({
        method: "GET",
        url: "api/u/user/" + id,
    });
}
// 获取艺术家信息
export function getartist() {
    return request({
        method: "GET",
        url: "api/u/user/artist/List/",
    });
}
// 根据id修改用户信息
export function putuser(id,data) {
    return request({
        method: "PUT",
        url: "api/u/user/" + id + "/",
        data
    });
}
